package com.macro.mall.service;

import com.macro.mall.common.api.CommonResult;
import com.macro.mall.dto.e.SysTalkEntDTO;
import com.macro.mall.model.BasicTopic;

public interface SysTalkService {


    CommonResult list(SysTalkEntDTO sysTalkEntDTO);

    int modify(SysTalkEntDTO sysTalkEntDTO);


    /***
     * 新增话题配置
     * @param topic
     * @return
     */
    CommonResult edit(BasicTopic topic);


    /***
     * 删除话题配置
     * @param id
     * @return
     */
    CommonResult delete(String id);
}
